package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;

@SpringBootApplication
@EnableResourceServer
@EnableEurekaClient
//这边最好把断路器集成进去
public class ResourcesdemoApplication {


	public static void main(String[] args) {
		SpringApplication.run(ResourcesdemoApplication.class, args);
	}
}






